<?php
/**
 * Регистрация пользователя.
 * 
 * @author nrnwest@gmail.com
 *
 */
class User_Form_Register extends Arm_Form
{
    public function init()
    {
      $field = new User_Form_Fields();
      $this->addElement($field->email());
      $this->addElement($field->userLogin());
      $this->addElement($field->userPassword());
      $this->addElement($field->rePassword());
      $this->addElement($field->userInitial());
      $this->addElement($field->userCountry());
      $this->addElement($field->userCity());
      $this->addElement($field->userCompany());
      $this->addElement($field->userPhone());
      $this->addElement($field->userPhonejob()); 
      $this->addElement($field->captcha());
      $this->addElement($field->submit(null, null, Arm_Translate::_('Веденные даные верны? Отправить данные?'))); 
    }
}